#include <stdio.h>

struct Box{
  int length;
  int width;
  int height;
};

int getVolumn(struct Box *cube){
  return cube->length*cube->width*cube->height;
}
 
int main(void){
  struct Box box={0};
  struct Box *cube=&box;
  printf("输入长方体的长:");
  scanf("%d",&cube->length);
  printf("输入长方体的宽:");
  scanf("%d",&cube->width);
  printf("输入长方体的高:");
  scanf("%d",&cube->height);
  printf("长方体体积:%d\n",getVolumn(cube));

  return 0;
}